package com.songlanyun.modules.freighttemplate.dao;

import com.songlanyun.modules.freighttemplate.entity.FreightTemplateRule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商家的物流模板的规则表（有一条默认规则，有其它与地区关联的特定规则表）
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-09 18:03:39
 */
@Mapper
public interface FreightTemplateRuleDao extends BaseMapper<FreightTemplateRule> {

    FreightTemplateRule getByFTidAndRuleId(@Param("freightTemplateId") Integer freightTemplateId, @Param("ruleId") Integer ruleId);

}
